import Layout from '../views/layout/Layout';
const _import = require('./_import_' + process.env.NODE_ENV);
const MonitorMenu = {
    path: '/monitorManager',
    component: Layout,
    name: '监控模块管理',
    meta: {
      title: '监控模块管理',
      icon: 'bug'
    },
    icon: 'bug',
    authority: 'monitorManager',
    children: [{
      path: 'serviceEurekaManager',
      component: _import('monitor/eureka/index'),
      name: 'Eureka注册中心',
      meta: {
        title: 'Eureka注册中心',
        icon: 'tab'
      },
      authority: 'serviceEurekaManager'
    }, {
      path: 'serviceMonitorManager',
      component: _import('monitor/service/index'),
      name: '服务状态监控',
      meta: {
        title: '服务状态监控',
        icon: 'chart'
      },
      authority: 'serviceMonitorManager'
    }, {
      path: 'serviceZipkinManager',
      component: _import('monitor/zipkin/index'),
      name: '服务状态监控',
      meta: {
        title: '服务状态监控',
        icon: 'icon'
      },
      authority: 'serviceZipkinManager'
    }]
  }

export default MonitorMenu;